package com.codestudy.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * (Concern)实体类
 *
 * @author makejava
 * @since 2024-04-12 10:50:32
 */
@Data
@ApiModel(value = "关注表", description = "关注表")
public class Concern implements Serializable {
    private static final long serialVersionUID = -24845223150387212L;

    private Integer id;
    /**
     * 关注ID
     */
    private Integer gzId;
    /**
     * 被关注id
     */
    private Integer bgzId;
    /**
     * 关注时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

}

